﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>
<%@ Import Namespace="ViewRes" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    <%:SharedStrings.LoadFile%>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

<h2> <%:SharedStrings.LoadFile%></h2>
   <%
       using (
           Html.BeginRouteForm("Default", new {controller = "Document", action = "LoadFile"}, FormMethod.Post,
                               new {enctype = "multipart/form-data"}))
       {
%>
    <label for="file">
        <%:SharedStrings.Filename%></label>
    <input type="file" name="file" id="file" />
    <input type="submit" />
    <%
       }%>

</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="ScriptsContent" runat="server">
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="TabsContent" runat="server">
</asp:Content>
